package com.homer.commons.sscpprotocol.client;

import java.io.IOException;

import com.homer.commons.sscpprotocol.client.impl.Connection;

public abstract interface DataSource
{
  public abstract String getHost();

  public abstract void setHost(String paramString);

  public abstract int getPort();

  public abstract void setPort(int paramInt);

  public abstract void setBigEndian(boolean paramBoolean);

  public abstract boolean isBigEndian();

  public abstract void setEncoding(String paramString);

  public abstract SocketOptions getSocketOptions();

  public abstract String getEncoding();

  public abstract Connection getConnection()
    throws IOException;

  public abstract Connection getConnection(String paramString)
    throws IOException;

  public abstract Connection getConnection(String paramString, int paramInt)
    throws IOException;
}
